﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Graphexcersize
{
    public interface IBasicGraph
    {
        List<Edge> EList { get; set; }

        List<Vertex> VList { get; set; }
    
        void AddVertex(Vertex vertex);

        void RemoveVertex(Vertex vertex);

        void AddEdge(Edge edge);

        void RemoveEdge(Edge edge);

        List<Vertex> AdjacentVertexes(Vertex vertex);

        Dictionary<Vertex, int> ShortestPath(Vertex start);
    }

 }  